package IO;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;

public class DataResources {
	private File file;
	public DataResources(String path){
		file = new File(path);
	}
	public boolean load(){
		boolean flag = false;
		if(file.exists()){
			if(file.isFile()){
				flag = true;
			}
		}
		return flag;
	}
	public File getFile(){
		return this.file;
	}
	public boolean createFile() throws IOException{
		return file.createNewFile();
	}
}
